<template>
	<view class="wait-check-box">
		<view class="item">
			<text>私塾名称:</text>
			<text>{{privateSchMsg.classroom_name}}</text>
		</view>
		<view class="item">
			<text>申请者姓名:</text>
			<text>{{privateSchMsg.applicant}}</text>
		</view>
		<view class="item">
			<text>联系方式:</text>
			<text>{{privateSchMsg.phone}}</text>
		</view>
		<view class="msg">
			*&nbsp;已提审核申请，请耐心等待
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				privateSchMsg: {
					classroom_name: '智慧私塾',
					applicant: '智慧教育',
					phone: 14056978987
				}
			};
		},
		created() {
			this.getPrivateSchoolMsg()
		},
		methods: {
			// 获取私塾信息
			getPrivateSchoolMsg() {
				this.$zapi.apiPost('user/Grade.User/ClassRoomstate').then(res => {
					if (res.data.code == 200) {
						let data = res.data.data
						this.privateSchMsg = data
					}
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.wait-check-box {
		width: 690upx;
		margin: auto;

		.item {
			width: 100%;
			height: 94upx;
			line-height: 94upx;
			font-size: 32upx;
			color: #333;
			border-bottom: 1px solid #E5E5E5;
		}

		.msg {
			width: 100%;
			text-align: center;
			color: #FF5722;
			margin-top: 120upx;
			font-size: 32upx;
		}
	}
</style>
